package com.css.openapi.BO;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class FaceH5VerifyResultNotifyReq {

    @NotBlank(message = "流水号不能为空")
    @ApiModelProperty(value = "第三方生成流水号；保证平台内唯一")
    @JsonProperty("outRequestId")
    private String outRequestId;

    @NotBlank(message = "人证对比结果不能为空")
    @ApiModelProperty(value = "人证对比结果")
    @JsonProperty("bizResult")
    private String bizResult;

    @NotBlank(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号")
    @JsonProperty("certNo")
    private String certNo;

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty(value = "人脸图片")
    @JsonProperty("pic")
    private String pic;

    @NotBlank(message = "接入方业务流水号不能为空")
    @ApiModelProperty(value = "会在回调和通知时原样返回")
    @JsonProperty("reqSn")
    private String reqSn;
}
